/**
 * action 类别索引
 */

export default {
  import: {
    type: 'modal', // 类型 默认base普通按钮触发式 none
    leval: 'base', // 默认base
    proto: { // model原型选项
      name: '导入',
      icon: 'archive'
    }
  },
  importNode: {
    proto: {
      name: '导入数据',
      icon: 'ios-download'
    }
  },
  process: {
    modal: false
  },
  edit: {
    proto: {
      name: '编辑',
      locate: 'inline'
    }
  },
  add: {
    proto: {
      name: '添加',
      param: {
        continuable: true
      }
    }
  },
  view: {
    proto: {
      locate: 'inline'
    // icon: 'more'
    }
  },
  search: {},
  delete: {
    proto: {
      name: '删除',
      scope: 'rows'
    }
  },
  confirm: {
    proto: {
      name: '确认操作',
      scope: 'data',
      locate: 'left'
    }
  },
  importTemplate: {},
  importTemplateEdit: {},
  importView: {},
  importOriginView: {},
  dsView: {},
  expressionEdit: {},
  ruleEdit: {},
  ruleEval: {},
  ruleExecEdit: {},
  authorityPicker: {},
  outputJson: {},
  billView: {},
  setRm: {},
  listView: {},
  nodeView: {},
  exportNode: {},
  importEntity: {},
  billAddEnitty: {},
  nodePublish: {},
  importProcess: {},
  actuatorEval: {},
  createModel: {},
  // 数据钻取
  drill: {
    proto: {
      name: '钻取',
      locate: 'inline'
    }
  },
  tester: {},
  webcall: {
    proto: {
      name: '软电话',
      icon: 'ios-telephone'
    }
  },
  export: {
    proto: {
      name: '导出数据',
      icon: 'ios-upload'
    }
  },
  listEditor: {
    proto: {
      name: '编辑参数'
    }
  },
  caseDetail: {
    proto: {
      locate: 'inline'
    }
  },
  applyConfirm: {
    proto: {
      scope: 'data',
      name: '申请认款'
    }
  },
  caseDistribute: {
    proto: {
      locate: 'right',
      name: '分配',
      icon: 'share'
    }
  },
  dev: {},
  ruleReview: {
    proto: {
      name: '规则校验',
      icon: 'pinpoint'
    }
  },
  eventTrigger: {},
  modelEditor: {
    proto: {
      name: '模型编辑器'
    }
  },
  /*
  player: {
    proto: {
      name: '播放',
      locate: 'inline',
      _button_type: 'success',
      icon: 'play'
    }
  }
  */
}
